package com.sh.healthtv.net.service;

import com.sh.healthtv.net.entity.Definition;
import com.sh.healthtv.net.entity.DirtyListResult;

import java.util.Map;

import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by zhouyucheng on 2017/8/4.
 */

public interface IPolyManager {



    /**
     *2.1.32	调用地址
     *
     * @param regionCode 区域标识
     * @param tType      终端类型
     * @param map        参数
     * @return Result
     */
    @Headers("Content-Type: application/json")
    @POST("healthyVod/getProgramPlayLink")
    Observable<DirtyListResult<Definition>> getHealthyVodMediaPlayList(@Header("regionCode") String regionCode, @Header("t_type") String tType,  @Body Map<String, Object> map);
}
